package com.botarena.client.bot.remote;

import java.util.List;

import com.botarena.shared.BotHomeInfo;
import com.botarena.shared.BotInfo;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface BotAccessAsync {

	public void getMyBots(final String contest,
			AsyncCallback<List<BotInfo>> callback);

	void getByKey(String botKey, AsyncCallback<BotInfo> callback);
	
	void getHomeInfo(String botKey, AsyncCallback<BotHomeInfo> callback);

	public void deleteBot(final String botKey, AsyncCallback<Void> callback);

	public void updateBot(final BotInfo botInfo, AsyncCallback<BotInfo> callback);

}
